// samsting : this file is auto create.

#include "OtsFinance/2013-09-12/GetInstanceResponse.h"

namespace aliyun { namespace OtsFinance {

GetInstanceResponse::GetInstanceResponse() {
}

int GetInstanceResponse::InstanceInfo::Quota::GetEntityQuota(void) const {
  return EntityQuota_;
}

const GetInstanceResponse::InstanceInfo::Quota& GetInstanceResponse::InstanceInfo::GetQuota(void) const {
  return Quota_;
}

const string& GetInstanceResponse::InstanceInfo::GetInstanceName(void) const {
  return InstanceName_;
}

const string& GetInstanceResponse::InstanceInfo::GetUserId(void) const {
  return UserId_;
}

const string& GetInstanceResponse::InstanceInfo::GetClusterName(void) const {
  return ClusterName_;
}

int GetInstanceResponse::InstanceInfo::GetStatus(void) const {
  return Status_;
}

int GetInstanceResponse::InstanceInfo::GetWriteCapacity(void) const {
  return WriteCapacity_;
}

int GetInstanceResponse::InstanceInfo::GetReadCapacity(void) const {
  return ReadCapacity_;
}

const string& GetInstanceResponse::InstanceInfo::GetDescription(void) const {
  return Description_;
}

const string& GetInstanceResponse::InstanceInfo::GetCreateTime(void) const {
  return CreateTime_;
}

const GetInstanceResponse::InstanceInfo& GetInstanceResponse::GetInstanceInfo(void) const {
  return InstanceInfo_;
}

const char* GetInstanceResponse::BaseKey(void) {
  return "GetInstanceResponse";
}

void GetInstanceResponse::UnmarshallerMap(std::map<string, string>& response_map) {
    UnmarshallerString(InstanceInfo_.InstanceName_, response_map, "GetInstanceResponse.InstanceInfo.InstanceName");
    UnmarshallerString(InstanceInfo_.UserId_, response_map, "GetInstanceResponse.InstanceInfo.UserId");
    UnmarshallerString(InstanceInfo_.ClusterName_, response_map, "GetInstanceResponse.InstanceInfo.ClusterName");
    UnmarshallerInt(InstanceInfo_.Status_, response_map, "GetInstanceResponse.InstanceInfo.Status");
    UnmarshallerInt(InstanceInfo_.WriteCapacity_, response_map, "GetInstanceResponse.InstanceInfo.WriteCapacity");
    UnmarshallerInt(InstanceInfo_.ReadCapacity_, response_map, "GetInstanceResponse.InstanceInfo.ReadCapacity");
    UnmarshallerString(InstanceInfo_.Description_, response_map, "GetInstanceResponse.InstanceInfo.Description");
    UnmarshallerString(InstanceInfo_.CreateTime_, response_map, "GetInstanceResponse.InstanceInfo.CreateTime");
      UnmarshallerInt(InstanceInfo_.Quota_.EntityQuota_, response_map, "GetInstanceResponse.InstanceInfo.Quota.EntityQuota");
}


} } // namespace aliyun { namespace OtsFinance {

// end of file 
